package com.shenjies88.practice.designpatterns;

import com.shenjies88.practice.designpatterns.imp.PlugBImpl;
import com.shenjies88.practice.designpatterns.interfaces.PlugA;

public class PlugAAdapterPlugB extends PlugBImpl implements PlugA {

    @Override
    public void chargeFromPlugA() {

        chargeFromPlugB();
        System.out.println("使用插头A充电");

    }
}
